package com.dongwq

class AuthController {

	static navigation = [
		[group:'userOptions', action:'login', order: 0, isVisible: { session.user == null }],
		[action:'logout', order: 99, isVisible: { session.user != null }],
		[action:'profile', order: 1, isVisible: { session.user != null }]
	]

	def login = { }

	def logout = { }

	def profile = { }
}
